/* 营销-拜访记录
 */

import { postRequest, getRequest } from '@/lib/axios'

export const visitApi = {
  // 拜访记录
  queryVisitList: (param) => {
    return getRequest('/visit_record/list', param)
  },
  // 拜访详情
  addVisit: (param) => {
    return getRequest('/visit_record/detail', param)
  },
  // 外勤统计
  fieldStatistics: (param) => {
    return getRequest('/visit_record/field_statistics', param)
  },
  // 外勤统计详情
  statisticsDetail: (param) => {
    return getRequest('/visit_record/statistics_detail', param)
  }
}
